public class 书上作业2 {
        public static void main(String[] args) {
            // 打印大写希腊字母
            System.out.println("大写希腊字母：");
            for (char letter = 'Α'; letter <= 'Ω'; letter++) {
                System.out.print(letter + " ");
            }
            System.out.println();  // 换行

            // 打印小写希腊字母
            System.out.println("小写希腊字母：");
            for (char letter = 'α'; letter <= 'ω'; letter++) {
                System.out.print(letter + " ");
            }
        }
    }


